package com.wish.banking.service.impl;

import com.wish.banking.entity.CwReceiptPlan;
import com.wish.banking.mapper.CwReceiptPlanMapper;
import com.wish.banking.service.ICwReceiptPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收款计划表	！房态-杨子强	高露雯 服务实现类
 * </p>
 *
 * @author gaoluwen
 * @since 2022-04-04
 */
@Service
public class CwReceiptPlanServiceImpl extends ServiceImpl<CwReceiptPlanMapper, CwReceiptPlan> implements ICwReceiptPlanService {

    @Override
    public List<CwReceiptPlan> selectRemainingLeaseBill(Integer contractId) {
        return baseMapper.selectRemainingLeaseBill(contractId);

    }

    @Override
    public void updateRemainingLeaseBill(CwReceiptPlan cwReceiptPlan) {
        baseMapper.updateRemainingLeaseBill(cwReceiptPlan);
    }
}
